export default {
  // 设置change方法，改变state和localStorage中city的值
    change(state,city){
      state.city=city;
      try {
        localStorage.city=city
      } catch(e) {}
    }
  }